home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS05.ADF / IFF / 8bitsound next >
Text File  |  1986-04-20  |  3KB  |  74 lines

  1.  
  2. "8SVX" IFF 8-Bit Sampled Voice
  3.  
  4. Date:     February 7, 1985
  5. From:     Steve Hayes and Jerry Morrison, Electronic Arts
  6. Status:   Adopted
  7.  
  8. 1. Introduction
  9.  
  10. This memo is the IFF supplement for FORM "8SVX". An 8SVX is an IFF 
  11. "data section" or "FORM" (which can be an IFF file or a part of one) 
  12. containing a digitally sampled audio voice consisting of 8-bit samples. 
  13. A voice can be a one-shot sound orQwith repetition and pitch scalingQa 
  14. musical instrument. "EA IFF 85" is Electronic Arts' standard interchange 
  15. file format. [See "EA IFF 85" Standard for Interchange Format Files.]
  16.  
  17. The 8SVX format is designed for playback hardware that uses 8-bit 
  18. samples attenuated by a volume control for good overall signal-to-noise 
  19. ratio. So a FORM 8SVX stores 8-bit samples and a volume level.
  20.  
  21. A similar data format (or two) will be needed for higher resolution 
  22. samples (typically 12 or 16 bits). Properly converting a high resolution 
  23. sample down to 8 bits requires one pass over the data to find the 
  24. minimum and maximum values and a second pass to scale each sample 
  25. into the range -128 through 127. So it's reasonable to store higher 
  26. resolution data in a different FORM type and convert between them.
  27.  
  28. For instruments, FORM 8SVX can record a repeating waveform optionally 
  29. preceded by a startup transient waveform. These two recorded signals 
  30. can be pre-synthesized or sampled from an acoustic instrument. For 
  31. many instruments, this representation is compact. FORM 8SVX is less 
  32. practical for an instrument whose waveform changes from cycle to cycle 
  33. like a plucked string, where a long sample is needed for accurate 
  34. results.
  35.  
  36. FORM 8SVX can store an "envelope" or "amplitude contour" to enrichen 
  37. musical notes. A future voice FORM could also store amplitude, frequency, 
  38. and filter modulations.
  39.  
  40. FORM 8SVX is geared for relatively simple musical voices, where one 
  41. waveform per octave is sufficient, where the waveforms for the different 
  42. octaves follows a factor-of-two size rule, and where one envelope 
  43. is adequate for all octaves. You could store a more general voice 
  44. as a LIST containing one or more FORMs 8SVX per octave. A future voice 
  45. FORM could go beyond one "one-shot" waveform and one "repeat" waveform 
  46. per octave.
  47.  
  48. Section 2 defines the required property sound header "VHDR", optional 
  49. properties name "NAME", copyright "(c)J", and author "AUTH", the optional 
  50. annotation data chunk "ANNO", the required data chunk "BODY", and 
  51. optional envelope chunks "ATAK" and "RLSE". These are the "standard" 
  52. chunks. Specialized chunks for private or future needs can be added 
  53. later, e.g. to hold a frequency contour or Fourier series coefficients. 
  54. The 8SVX syntax is summarized in Appendix A as a regular expression 
  55. and in Appendix B as an example box diagram. Appendix C explains the 
  56. optional Fibonacci-delta compression algorithm.
  57.  
  58. Caution: The VHDR structure Voice8Header changed since draft proposal 
  59. #4! The new structure is incompatible with the draft version.
  60.  
  61.  
  62.  
  63. Reference:
  64.  
  65. "EA IFF 85" Standard for Interchange Format Files describes the underlying 
  66. conventions for all IFF files.
  67.  
  68. Amiga[tm] is a trademark of Commodore-Amiga, Inc.
  69.  
  70. Electronic Arts[tm] is a trademark of Electronic Arts.
  71.  
  72. MacWrite[tm] is a trademark of Apple Computer, Inc.
  73.  
  74.